	<!--{template admin/header}-->
	<body id="homepage">
	    <div id="breadcrumb">
	        <ul>
	            <li><img src="static/img/icons/icon_breadcrumb.png"
	                     alt="Location" /></li>
	            <li><strong>位置:</strong></li>
	            <li><a href="admin.php">主页</a> - 日记</li>
	        </ul>
	    </div>
	    <div id="rightside">
	        <div class="contentcontainer">
	            <div class="headings altheading">
	                <h2>日记详情</h2>
	            </div>
	            <div class="contentbox">
		            <div class="extrabottom">
	                    <form method="get" action="admin.php">
	                        贴主Uid:<input type="text" name="uid" value="$_GET[uid]"class="inputbox smallbox" /> 
	                        帖子BodyId:<input type="text"name="bodyId" value="$_GET[bodyId]" class="inputbox smallbox" />
	                        删除用户Uid:<input type="text" name="cUid" class="inputbox smallbox" />
	                        </select> <input type="submit" value="删除评论" class="btn" /> 
	                        <input type="hidden" name="ac" value="diary" />
	                        <input type="hidden" name="op" value="removeManyComment" />
	                        <a href="admin.php?ac=diary" class="btn">清空条件</a>
	                    </form>
	                </div>
	                <div style="clear: both;"></div>
	                <table width="100%">
	                    <thead>
	                        <tr>
	                            <th>作者</th>
	                            <th>内容</th>
	                            <th>日记时间</th>
	                            <th>附件</th>
	                            <th>操作</th>
	                        </tr>
	                    </thead>
	                    <tbody>
	                        <!--{eval $i=0;}-->
	                        <!--{loop $list $value}-->
	                        <!--{eval $i++;}-->
		                        <tr <!--{eval echo showRowHilite($i); }--> >
		                            <td><a href="admin.php?ac=user&uid={$value[eUid]}"
		                               target="_blank">{$value[uid]}</a></td>
		                            <td>
		                                    <!--{eval echo getstr($value[content], 50, 1, 0);}-->
		                            </td>
		                            <td>
		                                <!--{date('Y-m-d H:i',$value[saveTime])}-->
		                            </td>
		                            <td>
		                             <!--{loop $value[attachment] $img}-->
		                                <img src="{$img[attachmentPath]}" />
		                             <!--{/loop}-->
		                               </td>
		                            <td><a href="admin.php?ac=user&uid={$value[uid]}" target="_blank"><img src="static/img/icons/gif_people.gif"
		                                                                                     width="24" height="24" /></a> &nbsp;
		                                  <a href="admin.php?ac=diary&op=removeSquare&id={$value[id]}&uid={$value[uid]}" onclick="ajaxget(this.href);return false;" target="_blank"><img
		                                        src="static/img/icons/gif_delete.gif" width="24" height="24" /></a>
		                            </td>
		                        </tr>
		                        <!--{loop $value[commentInfo] $comment}-->
		                        <tr>
		                        	<td><a href="admin.php?ac=user&uid={$comment[cUid]}"
		                               target="_blank">{$comment[cUid]}</a></td>
		                            <td>
		                            	 <!--{eval echo getstr($comment[content], 50, 1, 0);}-->
		                              </td>
		                            <td>
		                                <!--{date('Y-m-d H:i',$comment[saveTime])}-->
		                            	</td>
		                            <td>
		                            	
		                                </td>
		                            <td>
		                            	<a href="admin.php?ac=user&uid={$comment[cUid]}" target="_blank"><img src="static/img/icons/gif_people.gif"
		                                                                                     width="24" height="24" /></a> &nbsp;
		                                  <a href="admin.php?ac=diary&op=removeComment&id={$comment[id]}&uid={$value[uid]}" onclick="ajaxget(this.href);return false;" target="_blank"><img
		                                        src="static/img/icons/gif_delete.gif" width="24" height="24" /></a>
		                                </td>
		                        </tr>
		                         <!-- {$loop $value['replyList'] $reply} -->
		                         <tr>
		                         	<td>&nbsp;&nbsp;<a href="admin.php?ac=user&uid={$reply[cUid]}"
		                               target="_blank">{$reply[cUid]}</a> --><a href="admin.php?ac=user&uid={$reply[rUid]}"
		                               target="_blank">{$reply[rUid]}</td>
		                            <td>
		                            	 <!--{eval echo getstr($reply[content], 50, 1, 0);}-->
		                              </td>
		                            <td>
		                                <!--{date('Y-m-d H:i',$reply[replyTime])}-->
		                            	</td>
		                            <td>
		                            	
		                                </td>
		                            <td>
		                            	<a href="admin.php?ac=user&uid={$comment[cUid]}" target="_blank"><img src="static/img/icons/gif_people.gif"
		                                                                                     width="24" height="24" /></a> &nbsp;
		                                  <a href="admin.php?ac=diary&op=removeComment&id={$reply[id]}&uid={$value[uid]}" onclick="ajaxget(this.href);return false;" target="_blank"><img
		                                        src="static/img/icons/gif_delete.gif" width="24" height="24" /></a>
		                                </td>
		                         </tr>
		                        <!--{/loop}-->	
	                        <!--{/loop}-->
	                    </tbody>
	                </table>
	                <div class="extrabottom">
	                    <ul>
	                        <li><img src="static/img/icons/gif_people.gif" />作者信息</li>
	                        <li><img src="static/img/icons/gif_delete.gif" /> 删除日记</li>
	                    </ul>
	                    <div class="bulkactions">
	                        <ul class="pagination">
	                            <!--{if $prevpurl!=''}-->
	                            <li class="text"><a href="{$firstpurl}" title="">第一页</a></li>
	                            <li class="text"><a href="{$prevpurl}" title="">上一页</a></li>
	                            <!--{/if}-->
	                            <li class="text"><a href="
	                            <!--{eval echo $nextpurl==''?"admin.php?ac=diary&op=getCommentInfoList&bodyId={$_GET['bodyId']}&uid={$_GET['uid']}&type=1&start=0&length=20":$nextpurl}-->" >
	                                                                                       下一页</a></li>
	                        </ul>
	                        <div style="clear: both;"></div>
	                    </div>
	                </div>
	                <div style="clear: both;"></div>
	            </div>
	        </div>
	    </div>
	    <!--{template admin/leftside}-->
	    <!--{template admin/footer}-->